package com.firebird.app.fekpsl.mvp.sword.friend

import com.firebird.app.fekpsl.base.IModel
import com.firebird.app.fekpsl.base.IPresenter
import com.firebird.app.fekpsl.base.IView
import com.firebird.app.fekpsl.bean.BaseListResponseBody
import com.firebird.app.fekpsl.bean.HttpResult
import com.firebird.app.fekpsl.bean.Messager
import io.reactivex.Observable

/**
 * Created by firebird on 2018/4/21.
 */
interface MessagerContract {
    interface View : IView {
        fun showMessagerList(body: BaseListResponseBody<Messager>)
    }
    interface Presenter : IPresenter<View> {
        fun getMessagerList(pageNo:Int,userUuid:String)
    }
    interface Model : IModel {
        fun getMessagerList(pageNo: Int,userUuid: String): Observable<HttpResult<BaseListResponseBody<Messager>>>
    }

}